var mongoose = require('./db');

var Schema = mongoose.Schema;


var article = new Schema({
    author:{type:String},
    author_avatar:{type:String},
    create_time:{type:Date},
    content:{type:String},
    img:{type:String},
    thumbs:{type:Number},
    comment:{type:Number},
    share:{type:Number}
})

var model = mongoose.model("Article",article);

module.exports = model;